package com.cml.springcloud.service;

import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author cml
 * @create 2021/4/29 16:15
 */
public interface AccountService {
    /**
     * 扣减账户余额
     */
    void decease(@Param("userId") Long userId, @Param("money") BigDecimal money);
}
